package com.chentongwei;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * 启动类
 * 
 * @author TongWei.Chen 2017年5月14日13:44:44
 */
@SpringBootApplication
@EnableScheduling
@ImportResource({"classpath*:dubbo/task-dubbo-consumer.xml"})
public class TaskApplication {
	private static final Logger LOG = LoggerFactory.getLogger(TaskApplication.class);
	
	public static void main(String[] args) {
		SpringApplication.run(TaskApplication.class, args);
		LOG.info("tucaole-task启动成功！");
	}
}
